<template>
	<fu-popup v-model="show" mode="bottom" :safe-area-inset-bottom="true" :border-radius="24">
		<view class="padding  bg-white">
			<view class="flex justify-between padding-bottom" >
				<view class="flex-sub text-center  align-center" style="width: 100%;">
					<image src="https://localelife.chunchuangkeji.cn/h5img/images/shop-circle-left.png" style="width: 32rpx;height: 10rpx;"></image>
					<text class="text-bold text-333" style="margin: 0 12rpx;">{{ title }}</text>
					<image src="https://localelife.chunchuangkeji.cn/h5img/images/shop-circle-right.png" style="width: 32rpx;height: 10rpx;"></image>
				</view>
				<view class="" @tap="close"><text class="cuIcon-roundclosefill fu-fs40 text-gray"></text></view>
			</view>
			<scroll-view class="height-600" scroll-y>
				<view class="xs_line_height" v-if='!info'>{{i18n['无']}}</view>
				<view class="xs_line_height" v-else v-html="info"></view>
			</scroll-view>
		</view>
	</fu-popup>
</template>

<script>
export default {
	props: {
		info: {
			type: String
		},
		title: {
			type: String
		}
	},
	data() {
		return {
			show: false,
			curTab: 0
		};
	},
	watch: {},
	methods: {
		open() {
			this.show = true;
		},
		close() {
			this.show = false;
		}
	},

};
</script>

<style lang="scss" scoped>

.xs_line_height {
	line-height: 2;
}
.container {
	height: 600rpx;
}

.xs_title {
	font-size: 36upx;
	font-weight: bold;
	color: #333333;
	display: flex;
	align-items: center;
	justify-content: center;
	.xs_text {
		padding: 0 18upx;
	}
	.xs_circle {
		width: 10upx;
		height: 10upx;
		background: #fa2033;
		border-radius: 50%;
		margin: 0 6upx;
	}
	.opacity50 {
		opacity: 0.5;
	}
}
</style>
